/**
 * 
 */
package com.shequan.shequan.service;

import java.util.List;

import com.shequan.common.bean.ResultDataStruct;
import com.shequan.shequan.bean.bo.FamousShequanDetail;
import com.shequan.shequan.bean.bo.QryShequanMember;
import com.shequan.shequan.bean.pojo.Shequan;

/**
 * <P>
 * Copyright 2012.
 * </p>
 * <P>
 * All Rights Reserved.
 * </p>
 * 
 * @author YuJF
 * @version 1.0, 2012-3-14
 * @see com.shequan.shequan.service.ShequanService
 * @since 1.0
 */
public interface ShequanService {

	/**
	 * 根据用户ID查询用户所属社圈列表
	 * 
	 * @param userName
	 * @return
	 */
	ResultDataStruct<List<Shequan>> queryShequanByUserId(int userId);

	/**
	 * 分页查询用户社圈成员信息
	 * 
	 * @param shequanId
	 * @param page
	 * @param limit
	 * @return
	 * @author mazg
	 * @date 2012-4-7 上午8:49:21
	 */
	QryShequanMember queryShequanMemberByPage(int shequanId, int page, int limit);
	
	/**
	 * 查询全部的人气社圈
	 * @return
	 * @throws Exception
	 * @author mazg
	 * @date 2012-5-12 上午9:40:51
	 */
	List<FamousShequanDetail> queryAllFamousShequanDetail()throws Exception;

}
